//
//  Duel.h
//  Test
//
//  Created by Pedram Ardeshirzadeh on 20-07-12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#ifndef Test_Duel_h
#define Test_Duel_h

#include "GameMat.h"

class Duel {
    Player *player1;
    Player *player2;
    GameMat *gameMat;
    friend ostream& operator <<(ostream&, const Duel&);
    
public:
    Duel(Player*, Player*);
    
    void begin();
    Player* playerToBegin();
    void assignTurn(Player*);
    Player* getActivePlayer();
    void assignWinner(Player*);
    void assignLoser(Player*);
    void end();
    
    string toString();
    
    ~Duel();
};

#endif
